<template>
  <div class="progress">
    <el-timeline>
      <el-timeline-item v-for="(item,index) in event.logs" :key="index" :timestamp="item.datetime" placement="top" reverse=true>
        <el-card border shadow="hover">
          <div style="margin-bottom: 10px;font-size: 18px">{{ item.creator }}</div>
          <div style="margin-bottom: 10px;">{{ item.action }}</div>
          <div>{{ item.create_time }}</div>
        </el-card>
      </el-timeline-item>
    </el-timeline>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  props: ["event"]
}
</script>

<style lang="scss">
.el-tabs__content {
  //left: 10px;
  top: 20px;
  box-sizing: border-box;
}
.el-card{
  border:1px solid var(--border-color-lighter);
}
</style>
